class Event < ActiveRecord::Base
    attr_accessible :name, :author, :description, :starts_at, :location
  
  validates :name,  :presence => true
  validates :description, :presence => true
  validates :starts_at, :presence => true
  validates :location, :presence => true
  
  has_many :responses
  has_one :inviteeList
end
